<div id="steps" class="form simple">
<?
echo form_open('admin_home/login');
?>
<form id="formElem" name="formElem" action="" method="post">
	 <fieldset class="step">
		 <legend>Log In</legend>
		 <? if(isset($cek_form))
				{								
					echo "<div align=\"center\"><strong>Username atau Password salah.</strong></div>";
				}
			?>
			<label>Username</label>
			<input id="username" name="username" type="text" value="" tabindex="1" />
			<?php echo form_error('username'); ?>
			<label>Password</label>
			<input id="password" name="password" type="password" value="" tabindex="2" />
			<?php echo form_error('password'); ?>
		<p class="submit">
			<button id="registerButton" type="submit">Log In</button>
             <button id="registerButton" TYPE="BUTTON" VALUE="Update" ONCLICK="window.location.href='<?=base_url()?>'">Back</button>
		</p>
		
	 </fieldset>
</form>
<?
echo form_close();
?>
</div>
